<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/common_head.jsp" %>
<!DOCTYPE HTML>
<html>
<head>
<%@ include file="/jsp/common/common_script.jsp"%>
<title>黄石物流后台管理系统</title>
</head>

<script type="text/javascript">
$(function(){
	
	$.extend($.fn.validatebox.defaults.rules, {  
	    maxLength: {  
	        validator: function(value, param){  
	            return value.length <= param[0];  
	        },  
	        message: '最大{0}字，请确认 '  
	    }  
	}); 
});
</script>

<body>
<table class="queryTable" >
<tr>
		<td class="queryTitle" width="50px" align="center">出发地</td>
		<td class="queryContent" >
			<input class="inputText easyui-validatebox" validType="maxLength[40]" type="text"  id="departure" onkeypress="keyPressQuery(event);"/> 
		</td>
		<td class="queryTitle" width="50px" align="center">到达地</td>
		<td class="queryContent" >
			<input class="inputText easyui-validatebox" validType="maxLength[40]" type="text"  id="destination" onkeypress="keyPressQuery(event);"/> 
		</td>
		<td class="queryTitle" width="50px" align="center">车牌号</td>
		<td class="queryContent" >
			<input class="inputText easyui-validatebox" validType="maxLength[40]" type="text"  id="licencePlateNo" onkeypress="keyPressQuery(event);"/> 
		</td>	
		
		<td class="queryContent" >
		<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" onclick="doQuery()">查询</a>
		</td>
     
</tr>
<tr>
        <td class="queryTitle" width="50px" align="center">车辆识别代号</td>
		<td class="queryContent" >
			<input class="inputText easyui-validatebox" validType="maxLength[40]" type="text"  id="carFrameNo" onkeypress="keyPressQuery(event);"/> 
		</td>
		<td class="queryTitle" width="90px">车辆类型</td>
		<td class="queryContent">
			<select name="carType" id="carType" class="easyui-combobox" style="width: 90px" panelHeight="auto" editable="false">
			</select>
		</td>
		<td class="queryTitle" width="90px">删除状态</td>
		<td class="queryContent">
			<select name="delFlg" id="delFlg" class="easyui-combobox" style="width: 90px" panelHeight="auto" editable="false">
			</select>
		</td>
		<td class="queryContent" >
		<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" onclick="doClear()">清除</a>
		</td>
</tr>
<tr>
        <td class="queryTitle" width="50px" align="center">发车时间自：</td>
		<td class="queryContent" >
            <input class="easyui-datebox" type="text" id="queryFromTimeFrom"/>
		</td>
		<td class="queryTitle" width="50px" align="center">发车时间至：</td>
		<td class="queryContent" >
			<input class="easyui-datebox"  type="text"  id="queryFromTimeTo"/> 
		</td>
</tr>

<tr>
        <td class="queryTitle" width="50px" align="center">抵达时间自：</td>
		<td class="queryContent" >
            <input class="easyui-datebox" type="text" id="queryToTimeFrom"/>
		</td>
		<td class="queryTitle" width="50px" align="center">抵达时间至：</td>
		<td class="queryContent" >
			<input class="easyui-datebox"  type="text"  id="queryToTimeTo"/> 
		</td>
</tr>

</table>
<table id="carSourceInfoGrid"></table>

<div id="detailDlg" class="easyui-window" title="" closed="true" iconCls="icon-save" style="width:850px; height:auto;text-align:center; background: #fff;">
	<div  border="false" style="padding-left:20px;">
		<form id="detailForm"  method="POST">
			<input type="hidden" id="carSourceId" name="carSourceId" />
			<table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;">
				<tr>
					<td class="queryTitle" style="width:80px;">出发地</td>
					<td class="queryContent">
						<input type="text" id="departure" name="departure" class="readOnlyText" readonly="readonly"/>
					</td>
					<td class="queryTitle" style="width:80px;">到达地</td>
					<td class="queryContent">
						<input type="text" id="destination" name="destination" class="readOnlyText" readonly="readonly"/>
					</td>
				</tr>
				<tr>
					<td class="queryTitle" style="width:80px;">途径地名</td>
					<td class="queryContent">
						<input type="text" id="pathway" name="pathway" class="readOnlyText" readonly="readonly"/>
					</td>
					<td class="queryTitle" style="width:80px;">车源类型</td>
					<td class="queryContent">
						<input type="text" id="typeName" name="typeName" class="readOnlyText" readonly="readonly"/>
					</td>
				</tr>
				<tr>
					<td class="queryTitle" style="width:80px;">发车时间</td>
					<td class="queryContent">
						<input type="text" id="fromTime" name="fromTime" class="readOnlyText" readonly="readonly"/>
					</td>
					<td class="queryTitle" style="width:80px;">抵达时间</td>
					<td class="queryContent">
						<input type="text" id="toTime" name="toTime" class="readOnlyText" readonly="readonly"/>
					</td>
				</tr>
				<tr>
					<td class="queryTitle" style="width:80px;">车牌号</td>
					<td class="queryContent">
						<input type="text" id="licencePlateNo" name="licencePlateNo" class="readOnlyText" readonly="readonly"/>
					</td>
					<td class="queryTitle" style="width:80px;">车辆识别代号</td>
					<td class="queryContent">
						<input type="text" id="carFrameNo" name="carFrameNo" class="readOnlyText" readonly="readonly"/>
					</td>
				</tr>
				
				<tr>
					<td class="queryTitle">车辆类型</td>
					<td class="queryContent">
						<input type="text" id="carTypeName" name="carTypeName" class="readOnlyText" readonly="readonly"/>
					</td>
					<td class="queryTitle">车辆长度（米）</td>
					<td class="queryContent">
						<input type="text" id="carLength" name="carLength"  class="readOnlyText" readonly="readonly"/>
					</td>
					
				</tr>
				
				<tr>
					<td class="queryTitle">车辆载重（吨）</td>
					<td class="queryContent">
						<input type="text" id="carCapacity" name="carCapacity" class="readOnlyText" readonly="readonly"/>
					</td>
					<td class="queryTitle">运价（元）</td>
					<td class="queryContent">
						<input type="text" id="freightRate" name="freightRate" class="readOnlyText" readonly="readonly"/>
					</td>
				</tr>
				
				<tr>
					<td class="queryTitle">车体状况</td>
					<td class="queryContent">
						<input type="text" id="carConditionName" name="carConditionName" class="readOnlyText" readonly="readonly"/>
					</td>
					<td class="queryTitle">有效状态</td>
					<td class="queryContent">
						<input type="text" id="validStateName" name="validStateName" class="readOnlyText" readonly="readonly"/>
					</td>
				</tr>
				
				<tr>
				    <td class="queryTitle">交易状态</td>
					<td class="queryContent">
						<input type="text" id="dealStateName" name="dealStateName" class="readOnlyText" readonly="readonly"/>
					</td>
					
					<td class="queryTitle">浏览次数</td>
					<td class="queryContent">
						<input type="text" id="scanTimes" name="scanTimes" class="readOnlyText" readonly="readonly"/>
					</td>
					
				</tr>
				<tr>
					<td class="queryTitle">创建者</td>
					<td class="queryContent">
						<input type="text" id="createUser" name="createUser" class="readOnlyText" readonly="readonly"/>
					</td>
					<td class="queryTitle">创建时间</td>
					<td class="queryContent">
						<input type="text" id="createTime" name="createTime" class="readOnlyText" readonly="readonly"/>
					</td>
				</tr>
				<tr>
					<td class="queryTitle">更新者</td>
					<td class="queryContent">
						<input type="text" id="updateUser" name="updateUser" class="readOnlyText" readonly="readonly"/>
					</td>
					<td class="queryTitle">更新时间</td>
					<td class="queryContent">
						<input type="text" id="updateTime" name="updateTime" class="readOnlyText" readonly="readonly"/>
					</td>
				</tr>
				<tr>
					<td class="queryTitle">是否删除</td>
					<td class="queryContent" colspan="3">
						<input type="text" id="delFlg" name="delFlg" class="readOnlyText" readonly="readonly"/>
					</td>
					
				</tr>
			</table>
		</form>
	</div>

</div>
<script src="${ctx}/js/statistics/car_source_info.js"></script>
</body>
</html>
